package cn.eeepay.framework.service;

import cn.eeepay.framework.db.pagination.Page;
import cn.eeepay.framework.model.AddressMapping;

import java.util.List;

public interface AddressMappingService {

    void insert(AddressMapping addressMapping);

    List<AddressMapping> list(Integer jumpId, Page<AddressMapping> page);

    List<AddressMapping> list(Integer jumpId);

    void update(AddressMapping addressMapping);

//    void delete(String address,Integer jumpId);

    void delete(Integer jumpId);

}
